Skip to content

Preserve parent sandbox enforcement for memory consolidation - #32441

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9ca3be0e41dc14d858053f6f70e33f4ae7c578e1
Jul 11, 2026
Merged

Preserve parent sandbox enforcement for memory consolidation#32441
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9ca3be0e41dc14d858053f6f70e33f4ae7c578e1

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 11, 2026

Copy link
Copy Markdown

Preserve parent sandbox enforcement for memory consolidation

What changed

  • Pass the parent turn's effective permission profile to the memory consolidation agent, including thread-level permission and legacy sandbox overrides.
  • Preserve disabled and externally enforced permission profiles instead of replacing them with a managed sandbox.
  • Continue restricting consolidation to the memory root without network access when the parent uses Codex-managed permissions.

Testing

  • Add coverage for disabled, external, and managed parent permission profiles.

## What changed

- Pass the parent turn's effective permission profile to the memory consolidation agent, including thread-level permission and legacy sandbox overrides.
- Preserve disabled and externally enforced permission profiles instead of replacing them with a managed sandbox.
- Continue restricting consolidation to the memory root without network access when the parent uses Codex-managed permissions.

## Testing

- Add coverage for disabled, external, and managed parent permission profiles.

GitOrigin-RevId: 9ca3be0e41dc14d858053f6f70e33f4ae7c578e1
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9ca3be0e41dc14d858053f6f70e33f4ae7c578e1 branch from 8d61054 to 54b8f11 Compare July 11, 2026 15:22
@copyberry
copyberry Bot merged commit 54b8f11 into main Jul 11, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9ca3be0e41dc14d858053f6f70e33f4ae7c578e1 branch July 11, 2026 15:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 11, 2026
@askac
askac temporarily deployed to issue-triage July 11, 2026 17:13 — with GitHub Actions Inactive
@askac
askac temporarily deployed to issue-triage July 11, 2026 17:13 — with GitHub Actions Inactive
@askac
askac temporarily deployed to issue-triage July 11, 2026 17:13 — with GitHub Actions Inactive
@askac
askac temporarily deployed to issue-triage July 11, 2026 17:13 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.